package com.cy.pj.module.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/*封装请求参数*/
public class RequestParameter {
     private String name;

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
     private Date startDate;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "RequestParameter{" +
                "name='" + name + '\'' +
                '}';
    }
}
